package com.sqx.modules.pay.service;

import com.sqx.common.utils.Result;
import com.sqx.modules.orders.entity.Orders;

import java.math.BigDecimal;


/**
 * @author fang
 * @date 2020/2/26
 */
public interface WxService {

    Result payOrder(Long orderId, Integer type) throws Exception;

    Result payMoney(BigDecimal money, Long userId, Integer classify) throws Exception;

    String payBack(String resXml,Integer type);

    boolean refund(Orders orders);

}